import request from '@/utils/request'

//获取职位列表
export const getJobList = query => {
  return request({
    url:'/oa/position/list',
    method: 'get',
    params: query
  })
};

export const getPositionMappingList = query => {
  return request({
    url:'/oa/map/list',
    method: 'get',
    params: query
  })
};

export const editPositionMapping = data => {
  return request({
    url:'/oa/map/edit',
    method: 'post',
    data,
  })
};
